package com.enbatis.mybatisplugs;

import com.enbatis.mybatisplugs.generate.CodeGenerator2;

public class CodeTest {

    private static String url="jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false";
    private static  String user="root";
    private static String psd="PartNer4#";
    private static String filePath="D://generate_code//";
    public static void main(String[] args) {

        CodeGenerator2 codeGenerator=new CodeGenerator2(url,user,psd,filePath);
        codeGenerator.generate(CodeTest.class);

    }
}
